package eigenfiles;
import java.io.File;
import java.io.FileFilter;

import org.apache.commons.io.filefilter.WildcardFileFilter;


public class Test {

	public static void main(String[] args) {
		String str = "123";
		char a = str.charAt(0);
		File dir = new File(".");
		FileFilter fileFilter = new WildcardFileFilter("*.*");
		File[] files = dir.listFiles(fileFilter);
		for (int i = 0; i < files.length; i++) {
			System.out.println(files[i]);
		}

	}
}